﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common.Master" AutoEventWireup="true"
    CodeBehind="SingleWellEntryView.aspx.cs" Inherits="Web.Views.SingleWellManage.SingleWellView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../Javascript/UserControls.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <button type="button" class="sexybutton" runat="server" id="btnAgree" visible="false"
        onserverclick="btnAgree_Click">
        <span><span><span class="edit">上报</span></span></span></button>
    <div runat="server" id="divDone">
        <fieldset>
            <legend>已办事宜</legend>
            <ep:EPGridView ID="gv_SingleWellDone" runat="server" Width="100%" AutoGenerateColumns="False"
                DataKeyNames="DataID" ShowCheckBox="false" AllowPaging="false">
                <Columns>
                    <asp:HyperLinkField HeaderText="查看详细" Text="查看" DataNavigateUrlFormatString="SingleWellEntry.aspx?RecordID={0}"
                        DataNavigateUrlFields="DataID">
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="DataID" Visible="false" />
                    <asp:BoundField HeaderText="文件名" DataField="DataFileName" HeaderStyle-Width="15%"
                        ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField HeaderText="施工措施" DataField="WORKMODE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField HeaderText="A4" DataField="A4" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField HeaderText="A3" DataField="A3" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField HeaderText="A0" DataField="A0" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField HeaderText="开工日期" DataField="BEGINDATE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                        DataFormatString="{0: yyyy-MM-dd}" />
                    <asp:BoundField HeaderText="完工日期" DataField="FINISHDATE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                        DataFormatString="{0: yyyy-MM-dd}" />
                    <asp:BoundField HeaderText="井号" DataField="WELLCODE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField HeaderText="井别" DataField="WELLTYPE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField HeaderText="开钻日期" DataField="BEGINWORKDATE" HeaderStyle-Width="7%"
                        ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}" />
                    <asp:BoundField HeaderText="完钻日期" DataField="FINISHWORKDATE" HeaderStyle-Width="7%"
                        ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}" />
                    <asp:BoundField HeaderText="完钻深度" DataField="WELLDEPTH" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
                </Columns>
            </ep:EPGridView>
            <ep:AspNetPager SubmitButtonText=" GO " ID="pagerDone" Height="26px" Width="100%"
                CssClass="yahoo2" runat="server" PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right"
                CustomInfoClass="custom" CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always"
                SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true" PageIndexBoxType="TextBox"
                CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                OnPageChanging="pagerDoneTransfered_PageChanging" AlwaysShow="true">
            </ep:AspNetPager>
        </fieldset>
    </div>
    <div runat="server" id="divAgent">
        <fieldset>
            <legend>待办事宜</legend>
            <ep:EPGridView ID="gv_SingleWellAgent" runat="server" Width="100%" AutoGenerateColumns="False"
                DataKeyNames="DataID" dataSortExpression="" EnableEmptyContentRender="True" EnableModelValidation="True"
                Goto="0" GvPageCount="0" ShowCheckBox="true">
                <Columns>
                    <asp:HyperLinkField HeaderText="查看详细" Text="查看" DataNavigateUrlFormatString="SingleWellEntry.aspx?RecordID={0}"
                        DataNavigateUrlFields="DataID">
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="DataID" Visible="false" />
                    <asp:BoundField HeaderText="文件名" DataField="DataFileName" HeaderStyle-Width="15%"
                        ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="15%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="施工措施" DataField="WORKMODE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="A4" DataField="A4" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="5%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="A3" DataField="A3" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="5%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="A0" DataField="A0" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="5%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="开工日期" DataField="BEGINDATE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                        DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="完工日期" DataField="FINISHDATE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                        DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="井号" DataField="WELLCODE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="井别" DataField="WELLTYPE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="开钻日期" DataField="BEGINWORKDATE" HeaderStyle-Width="7%"
                        ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="完钻日期" DataField="FINISHWORKDATE" HeaderStyle-Width="7%"
                        ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="完钻深度" DataField="WELLDEPTH" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                </Columns>
            </ep:EPGridView>
            <ep:AspNetPager SubmitButtonText=" GO " ID="pagerAgent" Height="26px" Width="100%"
                CssClass="yahoo2" runat="server" PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right"
                CustomInfoClass="custom" CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always"
                SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true" PageIndexBoxType="TextBox"
                CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                OnPageChanging="pagerAgentTransfered_PageChanging" AlwaysShow="true">
            </ep:AspNetPager>
        </fieldset>
    </div>
</asp:Content>
